package com.fh.alipay.exception;


/**
 * @FileName: ThrowExceptionMsgFunction
 * @Author: fh
 * @Date: 2022/1/19
 * @Description: 抛出异常函数
 * @Version: 1.0
 */
@FunctionalInterface
public interface ThrowExceptionMsgFunction {

    /**
     * 抛出异常信息
     *
     * @param code 异常code
     * @param message 异常信息
     * @return void
     **/
    void throwMsg(int code, String message);
}
